package com.itheima.web.service.impl.oms;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.service.oms.IOmsCompanyAddressService;
import com.itheima.vo.oms.OmsCompanyAddress;
import com.itheima.web.mapper.oms.OmsCompanyAddressMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * <p>
 * 公司收发货地址表 服务实现类
 * </p>
 *
 * @author 王志斌
 * @since 2022-07-06
 */
@DubboService
public class OmsCompanyAddressServiceImpl extends ServiceImpl<OmsCompanyAddressMapper, OmsCompanyAddress> implements IOmsCompanyAddressService {
    @Autowired
    private OmsCompanyAddressMapper companyAddressMapper;
    @Override
    public List<OmsCompanyAddress> selectlist() {
        QueryWrapper<OmsCompanyAddress> qw = new QueryWrapper<>();
        return companyAddressMapper.selectList(qw);
    }
}
